﻿
using Cms.Core.Data.Mapping;
using Cms.Core.Data.Model;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;

namespace Cms.Core.Data.Configurations
{
    public class SysPermissionModuleConfigurations : EntityMappingConfiguration<SysPermissionModuleMap>
    {
    

        public override void Map(EntityTypeBuilder<SysPermissionModuleMap> builder)
        {

            base.MapCommon(builder);
            builder.Property(o => o.PermissionId);
            builder.Property(o => o.ModuleId);
            builder.ToTable("SysPermissionModuleMapping");
        }

     
    }
}
